package com.rnkrsoft.suyan.config.server.services.logger.services;

import com.rnkrsoft.suyan.config.internal.enums.OperateObjectEnum;
import com.rnkrsoft.suyan.config.internal.enums.OperateTypeEnum;

/**
 * Created by woate on 2019/7/27.
 * 日志服务
 */
public interface LoggerService {
    /**
     * 写入日志
     * @param operateObject 操作对象
     * @param primaryId 主键
     * @param operateType 操作类型
     * @param operatorId 操作员编号
     * @param operatorName 操作员姓名
     */
    void writeLog(OperateObjectEnum operateObject, String primaryId, OperateTypeEnum operateType, Integer operatorId, String operatorName);
}
